import request from '@/utils/request'

export function customerIndex(query) {
  return request({
    url: '/customer/index',
    method: 'get',
    params: query
  })
}
export function customerAdd(data) {
  return request({
    url: '/customer/add',
    method: 'post',
    data
  })
}
export function customerDetail(query) {
  return request({
    url: '/customer/detail',
    method: 'get',
    params: query
  })
}
export function customerEdit(data) {
  return request({
    url: '/goods/edit',
    method: 'post',
    data
  })
}

